testing.common.cleanups (field)
9 uses
testing (current package)
testing.go#L642: cleanups []func() // optional functions to be called at the end of the test
testing.go#L1313: c.cleanups = append(c.cleanups, fn)
testing.go#L1549: recur := len(c.cleanups) > 0
testing.go#L1563: if len(c.cleanups) > 0 {
testing.go#L1564: last := len(c.cleanups) - 1
testing.go#L1565: cleanup = c.cleanups[last]
testing.go#L1566: c.cleanups = c.cleanups[:last]
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)